home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / bixdos.arc / NOBLINK < prev    next >
Encoding:
Text File  |  1986-11-24  |  4.0 KB  |  81 lines

  1. TITLE: how to un-blink the cursor...
  2.  
  3. It appears as though most monochrome display cards (and graphics such as
  4. HERCULES and "compatibles" use the same basic layout. This is roughly how it
  5. works, for those who have no schematics: The CURSOR output (pin 19 of the
  6. 6845) goes into a 74LS174. There it is delayed since the cursor location as
  7. output by the controller is normally at the location of the last character.
  8. The cursor is delayed by one character position so that it is displayed just
  9. beyond the last character. This is done in two flip-flops in the '174. The
  10. cursor signal enters on D4, the Q4 output is fed into D5. The Q5 output is
  11. the delayed cursor signal. It is fed into a 7464, usually on pin 9. The '64
  12. basically consists of four AND gates feeding a NOR gate. Pins 9 and 10 are
  13. the inputs of a 2-input AND, and pin 10 is the clock pulse providing for the
  14. blink rate. To force this long story to an abrupt end, simply cut the trace
  15. leading to pin 10 of the 7464 and the cursor will quit blinking. You might
  16. want to do it right and pull pin 10 up to 5V via a 2.2k resistor after you
  17. have verified that it indeed works.
  18.  
  19. There appears to be only one 7464 on the board, so you can't miss. Don't be
  20. confused by the board layout - the 64 may be clear on the other end of the
  21. board as seen from the 174! If your display card doesn't have a 7464, then
  22. you will ahve to do some tracing. A schematic would be very helpful at this
  23. point. In all the display cards I have seen thus far, the cursor signal is
  24. delayed in a 74LS174 using two sections of the chip. The delayed cursor
  25. signal then enters an AND or NAND gate at one point. If it is a 2-input
  26. gate, all you should have to do is to CAREFULLY cut the trace leading to the
  27. other input. It is important to be able to reverse this procedure in case
  28. you cut the wrong trace. Beware, though, since traces may pass under chips
  29. and emerge at a different point on the other side, or even switch circuit
  30. board sides. The (N)AND gate may even be located at the other end of the
  31. board.
  32.  
  33. In tracing through a few more cards, I found an unnamed taiwanese color
  34. graphics card where pin 19 of the 6845 goes to one section of a 74LS273 and
  35. from there to a 74LS00; cutting the other input to the '00 stopped the
  36. blinking.
  37.  
  38. Here is some more informastion, based on the IBM manuals:
  39. 1. MONOCHROME DISPLAY ADAPTER: cut trace going to pin 9 of U3 (LS08)
  40. 2. COLOR/GRAPHICS MONITOR ADAPTER: cut trace going to pin 12 of U49 (LS02)
  41.  
  42. One problem with turning the cursor blink off this way is that if your
  43. cursor is something other than an underline (like, a block), you cannot see
  44. the character immediately below the cursor if you move it around the screen!
  45.  
  46. You may use the following code fragment to control the cursor under
  47. DEBUG or include it in programs:
  48.  
  49. MOV     AH,1
  50. MOV     CX,cccc
  51. INT     10H
  52.  
  53. Here are a few values for "cccc" for you to play with:
  54. (INT 10, subfunction 1 is explained in detail in various manuals and books
  55. but there no mention is made of bits 5 and 6 of register CH.)
  56.  
  57. cccc = 600BH  -  slow blinking block
  58. cccc = 400BH  -  fast blinking block
  59. cccc = 000BH  -  steady block
  60. cccc = 0B0BH  -  steady underline
  61.  
  62. As you can see, bits 6 and 5 of the CH register control blink:
  63.  
  64. BIT 6  BIT 5
  65.   0      0       no blink
  66.   0      1       no cursor display
  67.   1      0       fast blink
  68.   1      1       slow blink
  69.  
  70.  
  71. I hope this has helped some people who, like myself, are suffering from
  72. blinking cursors. I might add that cutting traces on circuit boards makes
  73. your warranty vanish in a puff of greasy black smoke. Fooling with
  74. electronic equipment not knowing what you're doing may make the equipment
  75. malfunction horribly, causing much grief and emptiness of the wallet, so you
  76. should only attempt to unblink your cursor if you are quite sure you know
  77. what you're doing... If all else fails ask a friend to do it for you. Just
  78. don't blame ME for breaking your computer, ok?
  79.  
  80. May all your cursors be steady ones!
  81.